<template>
  <avue-form ref="form" v-model="obj" :option="option" @reset-change="emptytChange" @submit="submit">

  </avue-form>
</template>

<script>
export default {
  name: 'index',
  data () {
    return {
      obj: {},
      option: {
        title: '商户信息',
        menuPostion: 'center',
        size: 'medium ',
        column: [
          {
            label: '商户名称',
            prop: 'merchantName'
          },
          {
            label: '商户通知',
            prop: 'notice'
          }
        ]
      }
    }
  },
  methods: {
    onLoad (page) {
      console.log(page)
    },
    rowSave: function (form, done, loading) {

    },
    rowUpdate: function (row, index, done, loading) {

    },
    onSubmit () {
      console.log('submit!')
    }
  }
}
</script>

<style scoped>

</style>
